package com.orange.modules.entity.manage;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "t_auth_org_user")
@Entity
public class AuthOrgUser {

	private String pid;
	private String userAccount; //管理员账号
	private String password;//密码
	private String type ;//管理员类型   1：超级管理员  唯一   0：系统管理员-由超级管理员添加
	private String createTime;
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name = "p_id")
	public String getPid() {
		return pid;
	}
	@Column(name = "s_user_account",length=100)
	public String getUserAccount() {
		return userAccount;
	}
	@Column(name = "s_password",length=255)
	public String getPassword() {
		return password;
	}
	@Column(name = "s_create_time",length=20)
	public String getCreateTime() {
		return createTime;
	}
	@Column(name = "s_type",length=1)
	public String getType() {
		return type;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public void setType(String type) {
		this.type = type;
	}
	

	
}
